#!/home/hadoop/python26/bin/python
import json
import sys

for line in sys.stdin:
    r = None
    try:
        r = json.loads(line.strip())
    except:
        continue
    if r != None:
        md5 = r['md5']
        print str(md5) + '\t' + line.strip()
